package com.xiaren.common;

import javax.swing.text.Document;
import java.io.StringWriter;

/**
 * 用于对文档类的操作
 * Created by xiaren on 2016/12/24.
 * @主页 http://www.leaf123.cn/
 * @邮箱 xia5523@qq.com
 */
public class DocumentUtil {

    public String getTextByDocument(Document doc){
//        StringWriter buf = new StringWriter();
//        write(buf);
//        txt = buf.toString();
        return null;
    }
}
